package com.ass.wechat.web;

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Map;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ass.base.web.BaseController;
import com.ass.wechat.service.MenuService;




@Controller
@RequestMapping("/push")
public class PushController extends BaseController {
	//http://localhost:8080/wechat/push.do?action=pushmenu
	@Resource
	private MenuService menuService;
	
	@RequestMapping("/pushmenu")
	public void pushmenu(HttpServletRequest request, HttpServletResponse response) throws Exception{
		
		System.out.println("设置菜单.");
		menuService.setMenu();
		
		
	}

	
	
    
    
}
